
from django.urls import path, include
from rest_framework.routers import DefaultRouter
from . import views

router = DefaultRouter()
router.register(r'unit', views.UnitAPIView)
# router.register(r'color', views.ColorAPIView)
router.register(r'supplier', views.SuppliersAPIView)
router.register(r'client', views.ClientAPIView)
router.register(r'goods', views.GoodsAPIView)
router.register(r'category', views.GoodsCategoryAPIView)

urlpatterns = [
    path('', include(router.urls)),
]
